package com.heima.wemedia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.wemedia.dtos.WmMaterialDto;
import com.heima.model.wemedia.pojos.WmMaterial;
import org.springframework.web.multipart.MultipartFile;

public interface WmMaterialService extends IService<WmMaterial> {
    ResponseResult uploadPicture(MultipartFile multipartFile);
    /**
     * 素材列表查询
     * @param dto
     * @return
     */
   ResponseResult findList( WmMaterialDto dto);

    ResponseResult delById(Integer id);

    ResponseResult collectById(Integer id);

    ResponseResult cancel_collectById(Integer id);
}